package com.sc.nft.controller.request;

import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class    UserEquityPropsDetailRequest extends PageRequest {


    @ApiModelProperty("id")
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(value = "是否过期 0:未过期 1:已过期")
    @NotNull(message = "是否过期不能为空")
    @Range(min = 0, max = 1, message = "是否过期只能为0或1")
    private Integer isExpired;


    @ApiModelProperty("是否要赠送")
    private Boolean isGift;
}
